package top.malaoshi.service;

import org.springframework.stereotype.Service;
import top.malaoshi.dao.UserMapper;
import top.malaoshi.entity.User;

import javax.annotation.Resource;

@Service
public class UserSrvImpl {

    @Resource
    private UserMapper mapper;


    public User queryByUsername(String username){
        return mapper.queryByUsername(username);
    }
}
